package HomespDTO;

import java.io.Serializable;

public class HomespDTO_goods implements Serializable {

	private String gid;
	private String cid;
	private String gname;
	private int size;
	private int price;
	private int stock;
	private String content;
	private String img;
	private int stat;
	public String getGid() {
		return gid;
	}
	public void setGid(String gid) {
		this.gid = gid;
	}
	public String getCid() {
		return cid;
	}
	public void setCid(String cid) {
		this.cid = cid;
	}
	public String getGname() {
		return gname;
	}
	public void setGname(String gname) {
		this.gname = gname;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public int getStock() {
		return stock;
	}
	public void setStock(int stock) {
		this.stock = stock;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public int getStat() {
		return stat;
	}
	public void setStat(int stat) {
		this.stat = stat;
	}
	@Override
	public String toString() {
		return "HomespDTO_goods [gid=" + gid + ", cid=" + cid + ", gname="
				+ gname + ", size=" + size + ", price=" + price + ", stock="
				+ stock + ", content=" + content + ", img=" + img + ", stat="
				+ stat + "]";
	}
	public HomespDTO_goods(String gid, String cid, String gname, int size,
			int price, int stock, String content, String img, int stat) {
		super();
		this.gid = gid;
		this.cid = cid;
		this.gname = gname;
		this.size = size;
		this.price = price;
		this.stock = stock;
		this.content = content;
		this.img = img;
		this.stat = stat;
	}
	public HomespDTO_goods() {}
}
